package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class UserBlogSpotBase{
	boolean[] modified=new boolean[6];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public UserBlogSpotBase(){}
	public UserBlogSpotBase(java.lang.Long userId,java.lang.Long blogSpotId,java.lang.String nicename,java.lang.String email,java.lang.String discription,java.lang.Integer role){
		setUserId(userId);
		setBlogSpotId(blogSpotId);
		setNicename(nicename);
		setEmail(email);
		setDiscription(discription);
		setRole(role);
	}
	public void setUserId(java.lang.Long userId){
		if(userId!=null) {
			set("userId",userId);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getUserId(){
		return (java.lang.Long)get("userId");
	}
	public void setBlogSpotId(java.lang.Long blogSpotId){
		if(blogSpotId!=null) {
			set("blogSpotId",blogSpotId);
			this.modified[1] =true;
		}
	}
	public java.lang.Long getBlogSpotId(){
		return (java.lang.Long)get("blogSpotId");
	}
	public void setNicename(java.lang.String nicename){
		if(nicename!=null) {
			set("nicename",nicename);
			this.modified[2] =true;
		}
	}
	public java.lang.String getNicename(){
		return (java.lang.String)get("nicename");
	}
	public void setEmail(java.lang.String email){
		if(email!=null) {
			set("email",email);
			this.modified[3] =true;
		}
	}
	public java.lang.String getEmail(){
		return (java.lang.String)get("email");
	}
	public void setDiscription(java.lang.String discription){
		if(discription!=null) {
			set("discription",discription);
			this.modified[4] =true;
		}
	}
	public java.lang.String getDiscription(){
		return (java.lang.String)get("discription");
	}
	public void setRole(java.lang.Integer role){
		if(role!=null) {
			set("role",role);
			this.modified[5] =true;
		}
	}
	public java.lang.Integer getRole(){
		return (java.lang.Integer)get("role");
	}
}
